// 重置样式
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 14px;
}
body {
  height: 100%;
  color: #333;
  // 导航栏
  padding-top: 60px;
  min-width: 1240px;
  font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI',
    'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei',
    sans-serif;
}
/* 为锚点链接添加偏移量，避免被导航栏遮挡 */
:target::before {
  content: '';
  display: block;
  height: 60px; /* 导航栏高度 */
  margin-top: -60px; /* 负值等于导航栏高度 */
  visibility: hidden;
}
body,
ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #333;
  outline: none;
}
a:hover {
  // 鼠标悬浮时不出现背景颜色
  background-color: transparent;
}
i {
  font-style: normal;
}
input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
}
input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='password']::placeholder,
input[type='checkbox']::placeholder {
  color: #ccc;
}
// img {
//   max-width: 100%;
//   max-height: 100%;
//   vertical-align: middle;
//   background: #ebebeb url('@/assets/images/200.png') no-repeat center / contain;
// }
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto;
  position: relative;
}
// 渲染模板
// .community-container {
//     max-width: 1200px;
//     width: 100%;
//     height: 800px;
//     margin: 0 auto;
//     margin-top: 100px;
//     border: 1px solid black;
// }
.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}

// reset element
.el-breadcrumb__inner.is-link {
  font-weight: 400 !important;
}
    